package com.xd.core.business.service;

import com.github.pagehelper.Page;
import com.xd.core.business.dto.ContractDto;
import com.xd.core.business.entity.Contract;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xd.core.business.vo.ContractDetailVo;
import com.xd.core.business.vo.ContractVo;
import com.xd.core.business.vo.DeContractVo;
import com.xd.core.business.vo.IncomingDetailContractVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ZX
 * @since 2025-02-27
 */
public interface IContractService extends IService<Contract> {

    Page<ContractVo> getContractList(ContractDto contractDto);

    Page<DeContractVo> getDetContractList(ContractDto contractDto);

    void exportContractList(ContractDto contractDto, Integer id);

    void exportDeContractList(ContractDto contractDto, Integer id);

    IncomingDetailContractVo getContracts(Integer outId);

    List<ContractDetailVo> getInsuranceContracts(Integer incomingId);
}
